package org.opu.pcm;

import javax.swing.JFrame;
import javax.swing.UIManager;
import org.opu.pc.ui.util.ResourceHandle;
import org.opu.pcm.ui.client.widgets.NewJPanel;

/**
 * @author Yuriy Dunko
 */
public class App {

	public static void main(String[] args) {
    	try {
			UIManager.setLookAndFeel(
//                    "ch.randelshofer.quaqua.QuaquaLookAndFeel" // Mac look
//                    UIManager.getCrossPlatformLookAndFeelClassName()
                    UIManager.getSystemLookAndFeelClassName()
                    );
		} catch (Exception e) {
		}
        JFrame frame = new JFrame(ResourceHandle.getApplicationTitle() + " management");
        frame.setIconImage(new javax.swing.ImageIcon(App.class.getResource(
                "/org/opu/pcm/resource/icon-dns-management.png")).getImage());
        NewJPanel newJPanel = new NewJPanel();
        frame.getContentPane().add(newJPanel);
        frame.setSize(533, 354);
        frame.setLocationRelativeTo(null);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setVisible(true);
    }
}
